home *** CD-ROM | disk | FTP | other *** search
- #
- # $Id: Kakasi.pm,v 1.10 2000/12/18 05:53:51 knok Exp $
-
- package Text::Kakasi;
-
- =head1 NAME
-
- Text::Kakasi - kakasi library module for perl
-
- =head1 SYNOPSIS
-
- use Text::Kakasi;
-
- $res = Text::Kakasi::getopt_argv('kakasi', '-ieuc', '-w');
- $str = Text::Kakasi::do_kakasi('╞ⁿ╦▄╕∞ñ╬╩╕╗·╬≤');
-
- =head1 DESCRIPTION
-
- ñ│ñ╬ÑΓÑ╕Ñσí╝Ñδñ╧íó╣Γ╢╢═╡┐«ñ╡ñ≤ñ╬║ε└«ñ╡ñ∞ñ┐Ñ╜Ñ╒Ñ╚ѪѺÑóKAKASIñ≥
- perlñ½ñΘ═╤ñññδñ┐ñßñ╬ñΓñ╬ñ╟ñ╣íú
-
- =over 4
-
- =item getopt_argv($arg1, $arg2, ...)
-
- KAKASIñ╦═┐ñ¿ñδñ┘ñ¡Ñ¬Ñ╫Ñ╖ÑτÑ≤ñ≥╗╪─Ωñ╖íó╜Θ┤ⁿ▓╜ñ≥╣╘ñññ▐ñ╣íúѬÑ╫Ñ╖ÑτÑ≤ñ╧íó
- kakasiÑ│Ñ▐Ñ≤Ñ╔ñ╟═╤ñññΘñ∞ñδñΓñ╬ñ╦╜αñ╕ñ▐ñ╣íú
- ñ▐ñ┐íó░∞╚╓║╟╜Θñ╬ѬÑ╫Ñ╖ÑτÑ≤ñ╧Ñ╫ÑφÑ░ÑΘÑαñ╬Ñ╒ÑíÑñÑδ╠╛ñ╟ñ╣íú
- getopt_argvñ≥╕╞ñ╙╜╨ñ╣ñ╚íó╝¡╜±Ñ╒ÑíÑñÑδñ¼openñ╡ñ∞ñ▐ñ╣íúñ│ñ∞ñ╧íó
- close_kanwadicñ≥╕╞ñ╙╜╨ñ╣ñ▐ñ╟Ѭí╝Ñ╫Ñ≤ñ╡ñ∞ñ┐ñ▐ñ▐ñ╦ñ╩ñΩñ▐ñ╣íú
-
- ╬πñ¿ñ╨íó╝íñ╬ñΦñªñ╩░·┐⌠ñ╟kakasiñ≥╝┬╣╘ñ╖ñ┐ñ╚ñ¡ñ╚╞▒ñ╕╕·▓╠ñ≥╞└ñδñ┐ñßñ╦ñ╧íó
-
- $ kakasi C<-ieuc> C<-w>
-
- ╝íñ╬ñΦñªñ╩░·┐⌠ñ╟getopt_argvñ≥╕╞ñ╙╜╨ñ╖ñ▐ñ╣íú
-
- getopt_argv('kakasi', 'C<-ieuc>', 'C<-w>');
-
- =item do_kakasi($str)
-
- ░·┐⌠ñ╦═┐ñ¿ñΘñ∞ñ┐╩╕╗·╬≤ñ╦┬╨ñ╖ñ╞╜Φ═²ñ≥╣╘ññíó╖δ▓╠ñ≥╩╕╗·╬≤ñ╚ñ╖ñ╞╩╓ñ╖ñ▐ñ╣íú
-
- =item close_kanwadic()
-
- Ѭí╝Ñ╫Ñ≤ñ╖ñ╞ñññ┐╝¡╜±Ñ╒ÑíÑñÑδñ≥closeñ╖ñ▐ñ╣íú
- Ñ╨í╝Ñ╕ÑτÑ≤0.10ñ╟ñ╧íó2▓≤░╩╛σgetopt_argvñ≥▓┐┼┘ñΓ╕╞ñ╙╜╨ñ╣╛∞╣τñ╦ñ╧íóñ╜ñ╬
- ┴░ñ╦close_kanwadicñ≥╕╞ñ╙╜╨ñ╣╔¼═╫ñ¼ñóñΩñ▐ñ╖ñ┐ñ¼íó0.11░▄╣╘ñ╟ñ╧getopt_argv
- ╞Γ╔⌠ñ╟╔¼═╫ñ¼ñóñ∞ñ╨closeñ╣ñδñ╬ñ╟íóñ│ñ╬┤╪┐⌠ñ╧╔¼ñ║ñ╖ñΓ╕╞ñ╙╜╨ñ╣╔¼═╫ñ╧
- ñóñΩñ▐ñ╗ñ≤íú
-
- =back
-
- =head1 COPYRIGHT
-
- Copyright (C) 1998, 1999, 2000 NOKUBI Takatsugu <knok@daionet.gr.jp>
-
- ñ│ñ╬ÑΓÑ╕Ñσí╝Ñδñ╧┤░┴┤ñ╦╠╡╩▌╛┌ñ╟ñ╣íú
-
- ñ▐ñ┐íóñ│ñ╬ÑΓÑ╕Ñσí╝Ñδñ╧GNU General Public Licenceñ╬ñΓñ╚ñ╟║╞╟█╔╒íó
- ▓■╩╤ñ¼╟ºñßñΘñ∞ñ╞ñññ▐ñ╣íú╛▄║┘ñ╦ñ─ñññ╞ñ╧╔╒┬░ñ╬COPYINGñ╚ñññªÑ╒ÑíÑñÑδñ≥
- ╗▓╛╚ñ╖ñ╞▓╝ñ╡ññíú
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- =cut
-
- require Exporter;
- require DynaLoader;
-
- @ISA = qw(Exporter DynaLoader);
-
- @EXPORT_OK = qw(getopt_argv do_kakasi close_kanwadict);
- %EXPORT_TAGS = (all => [qw(getopt_argv do_kakasi close_kanwadict)]);
-
- $VERSION = '1.05';
-
- bootstrap Text::Kakasi $VERSION;
-
- 1;
- __END__
-